package org.lion.proxy.output.student;

/**
 * @author：linchenxi on 2016/12/29 17:07
 * @description:
 */
public class Latesttasks {
    private String finishtime;               //完成时间，未完成为null
    private String task__deadlinetime;      //提交期限
    private String task__delivertime;      //作业发布时间
    private long task__subjectid;          //本次作业科目id
    private String resultresourceid;
    private long task_id;                //task表id
    private boolean notified;          //该生是不是已查看过此次任务，true表示查看过，false表示未查看过
    private String parentsalreadyseen;      //哪些家长看过这次作业，数组里面存放的是各个家长的user id(注意，不是家长表的id,是家长对应的用户id)，app根据此判断当前家长是否读过这次作业,以便显示未读那个红点
    private int spendTime;            //学生完成任务花费的时间，单位为秒; 如果是未完成任务或者后端获取此数据过程中发生异常，该值为0
    private long task__relatedresourceid;      //相关资源的id，预览作业的时候需要用到
    @Deprecated
    private String summary;      //如果是完成状态，有对错数，可以依次算出正确率
    private boolean finished;   //是否完成
    private int task__suggestspendtime;//建议完成时间
    private String delivername;       //发布者的名字
    private int tasktype;            //作业类型，1为普通作业，2为微课作业
    private String resourcename;    //作业名或微课名
    private int ishastenning;      //本次作业是否在被催状态
    private int needtocheck;      //待批状态
    private String task__description;      //任务描述
    private long id;      //tasktrack id,获取老数据传的lastid就从它取
    private int finished_count;//完成作业的总学生数
    private int total_count;  //收到作业的总学生数
    private int task__total_wrong;       //所有学生总共做错的题数
    private int task__total_correct;    //所有学生总共做对的题数
    private double correctratio;     //该生本次作业正确率
    //上面这两个参数用来统计此次作业的平均正确率，task__total_correct/float(task__total_correct + task__total_wrong)
    //注意，没有学生提交时候分母为0,要特殊处理下

    public String getFinishtime() {
        return finishtime;
    }

    public void setFinishtime(String finishtime) {
        this.finishtime = finishtime;
    }

    public String getTask__deadlinetime() {
        return task__deadlinetime;
    }

    public void setTask__deadlinetime(String task__deadlinetime) {
        this.task__deadlinetime = task__deadlinetime;
    }

    public String getTask__delivertime() {
        return task__delivertime;
    }

    public void setTask__delivertime(String task__delivertime) {
        this.task__delivertime = task__delivertime;
    }

    public long getTask__subjectid() {
        return task__subjectid;
    }

    public void setTask__subjectid(long task__subjectid) {
        this.task__subjectid = task__subjectid;
    }

    public String getResultresourceid() {
        return resultresourceid;
    }

    public void setResultresourceid(String resultresourceid) {
        this.resultresourceid = resultresourceid;
    }

    public long getTask_id() {
        return task_id;
    }

    public void setTask_id(long task_id) {
        this.task_id = task_id;
    }

    public boolean isNotified() {
        return notified;
    }

    public void setNotified(boolean notified) {
        this.notified = notified;
    }

    public String getParentsalreadyseen() {
        return parentsalreadyseen;
    }

    public void setParentsalreadyseen(String parentsalreadyseen) {
        this.parentsalreadyseen = parentsalreadyseen;
    }

    public int getSpendTime() {
        return spendTime;
    }

    public void setSpendTime(int spendTime) {
        this.spendTime = spendTime;
    }

    public long getTask__relatedresourceid() {
        return task__relatedresourceid;
    }

    public void setTask__relatedresourceid(long task__relatedresourceid) {
        this.task__relatedresourceid = task__relatedresourceid;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public boolean isFinished() {
        return finished;
    }

    public void setFinished(boolean finished) {
        this.finished = finished;
    }

    public int getTask__suggestspendtime() {
        return task__suggestspendtime;
    }

    public void setTask__suggestspendtime(int task__suggestspendtime) {
        this.task__suggestspendtime = task__suggestspendtime;
    }

    public String getDelivername() {
        return delivername;
    }

    public void setDelivername(String delivername) {
        this.delivername = delivername;
    }

    public int getTasktype() {
        return tasktype;
    }

    public void setTasktype(int tasktype) {
        this.tasktype = tasktype;
    }

    public String getResourcename() {
        return resourcename;
    }

    public void setResourcename(String resourcename) {
        this.resourcename = resourcename;
    }

    public int getIshastenning() {
        return ishastenning;
    }

    public void setIshastenning(int ishastenning) {
        this.ishastenning = ishastenning;
    }

    public int getNeedtocheck() {
        return needtocheck;
    }

    public void setNeedtocheck(int needtocheck) {
        this.needtocheck = needtocheck;
    }

    public String getTask__description() {
        return task__description;
    }

    public void setTask__description(String task__description) {
        this.task__description = task__description;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getFinished_count() {
        return finished_count;
    }

    public void setFinished_count(int finished_count) {
        this.finished_count = finished_count;
    }

    public int getTotal_count() {
        return total_count;
    }

    public void setTotal_count(int total_count) {
        this.total_count = total_count;
    }

    public int getTask__total_wrong() {
        return task__total_wrong;
    }

    public void setTask__total_wrong(int task__total_wrong) {
        this.task__total_wrong = task__total_wrong;
    }

    public int getTask__total_correct() {
        return task__total_correct;
    }

    public void setTask__total_correct(int task__total_correct) {
        this.task__total_correct = task__total_correct;
    }

    public double getCorrectratio() {
        return correctratio;
    }

    public void setCorrectratio(double correctratio) {
        this.correctratio = correctratio;
    }
}
